Building the portlet sample webapp for a specific container

Build instructions

Some text with a title

  • run 'ant' from the webapp project dir
  • cd to webapps directory
  • To build a portlet webapp, simply run: ant build-portlet
  • You can use the 'container' system property to target a specific container, e.g. '-Dcontainer=exo'.
    Supported containers are exo, gridsphere, liferay-3.6.1, jboss-portal-2.0, jboss-portal-2.2 and jetspeed2.
    For IBM WebSphere Portal 5.1, no container property is required.
    For example:
    ant build-portlet -Dcontainer=jboss-portal-2.2
  • Check the etc/yourcontainer directory for a Readme. If available, check for further instructions.
  • deploy the war to your portal server